/*
---
script: dialog.js
description: ---
license: MIT-style license
authors:
- Christian Merz
requires:
- core:1.3.2/Element.Event
provides: [dialogCME]
...
*/
window.addEvent('domready', function(){

    var dialogCme = new DialogCME({
		'title':'Form Edit Sesi Lelang',
		'content':"<table>\n\
					<tr>\n\
						<td align='left'><label>Tanggal</label></td><td align='left'><input id='waktu' type='text' size='15'> - <input id='waktu' type='text' size='15'></td></tr>\n\
					<tr>\n\
						<td align='left'><label>Jam</label></td><td align='left'><input type='text' size='2'>:<input type='text' size='2'>&nbsp; - &nbsp;<input type='text' size='2'>:<input type='text' size='2'></td></tr>\n\
					<tr>\n\
						<td align='left'><label>Keterangan</label></td><td align='left'><input type='text' size='38'></td></tr>\n\
					</table>",
		'submit':{
			'exists':true,
			'value':'Simpan',
			'fn': function(e){
				this.hide()
			}
		},		
		'cancel':{
			'exists':true,
			'value':'Batal',
			'fn': function(e){
				this.hide()
			}
		}
		
	});
    
    $('editSession').addEvent('click', function(e){
        e = new Event(e).stop();
        dialogCme.show();
    }
	
.bind(this));
});